<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo1</title>
    <script src="plugins/angularjs/angular.min.js"></script>
    <script type="text/javascript">
        function fun1($scope) {
            $scope.greeting = {
                text:"angularJS  you so frigging"
            }
        }

        function fun2($scope) {
            $scope.user = {
                name:"Jet",
                age:11
            }
        }
    </script>
</head>
<body ng-app>
    {{100+200}}
<hr>
<input type="text" ng-model="username"><br>
<input type="text" ng-model="age"><br>
hi! {{username}} how old are you {{age}}
<hr>

<div ng-controller="fun1">hi! {{greeting.text}}</div>
<div ng-controller="fun2"> go {{user.name}} ,I am {{user.age}}</div>

</body>
</html>